package com.ruoyi.franchise.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 菜单管理对象 admin_menu
 * 
 * @author ruoyi
 * @date 2025-09-12
 */
public class AdminMenu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** Id */
    private Long menuId;

    /** 菜单名称 */
    @Excel(name = "菜单名称")
    private String name;

    /** 路径 */
    @Excel(name = "路径")
    private String path;

    /** 父Id */
    @Excel(name = "父Id")
    private Long pid;

    public void setMenuId(Long menuId) 
    {
        this.menuId = menuId;
    }

    public Long getMenuId() 
    {
        return menuId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPath(String path) 
    {
        this.path = path;
    }

    public String getPath() 
    {
        return path;
    }

    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("menuId", getMenuId())
            .append("name", getName())
            .append("path", getPath())
            .append("pid", getPid())
            .toString();
    }
}
